<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      /* 得到一个 100 x 100 直角三角形 的 */
      .trangle {
        width: 0;
        height: 0;
        border: solid 50px transparent;
        border-left-color: lightgreen;
        border-bottom-color: lightgreen;
      }

      .trangle2 {
        width: 100px;
        height: 100px;
        background: lightgreen;
        clip-path: polygon(0 0, 100% 100%, 0 100%);
      }
    </style>
  </head>

  <body>
    <div class="trangle"></div>
    <div class="trangle2"></div>

    <script src="./interview/4.6 listToTree.js"></script>
  </body>
</html>
